package com.hubiao.basics.entity;

import org.junit.jupiter.api.Test;

/**
 * Description
 *
 * @author hubiao
 * @since 2021-01-24 14:14
 */
public class IntegerDemo {

    @Test
    public void test01() {
        Integer a = 127;
        Integer f = 127;
        int b = 127;
        //true
        System.out.println( a == b );
        //true
        System.out.println( a == f );
        Integer c = 128;
        int d = 128;
        Integer e = 128;
        //true
        System.out.println( c == d );
        //false
        System.out.println( e == c );
    }
}
